package com.podcstr.service;

import com.podcstr.entity.MediaFile;
import com.podcstr.entity.User;
import com.podcstr.entity.UserProfile;
import com.podcstr.service.exception.ServiceException;

import java.util.List;

/**
 * @author azim
 * @since 5/12/13 
 */

public interface UserService {

    void signUp(User user) throws ServiceException;

    List<User> findAll();

    void delete(long userId);

    void toggleDisable(long userId);

    void update(User user);

    void updateProfile(UserProfile userProfile);

    void updateFile(MediaFile mediaFile);

    User findUserByUsername(String username);

    boolean verifyLogin(String username, String password);
}
